<?php

namespace addons\member\model;

/**
 * Class CollectInformation
 * @package addons\member\model
 */
class CollectInformation extends \web\common\model\BaseModel{
    
    protected function _initialize() {
        $this->tableName = 'collect_information';
    }

    public function getDataList($pageIndex = -1, $pageSize = -1, $filter = '',$fileds='*', $order = 'id desc') {
        $sql = 'select a.*,b.username,b.phone from '.$this->getTableName() . ' a left join tp_member_account b on b.id=a.uid where 1=1 and '.$filter;
        return $this->getDataListBySQL($sql, $pageIndex, $pageSize, $order);
    }
}
